<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Progressive Play Server
 * Stats Status Model
 * /models/stats_status_model.php
 * By: Yukwunhang
 */
class Stats_status_model extends Model
{
	// Constructor
	function Stats_status_model()
	{
		parent::Model();
	}
	
	/**
	 * Get stats recording system status (ON/OFF)
	 * @return boolean
	 */
	function get_stats_status()
	{
		$version = 'v0.4b';
		
		$query = $this->db->get_where('status', array('stats_version' => $version));
		$result = $query->row_array();
		
		return $result;	
	}
}
/*
 * End of file
 */